import { Colors } from "react-native-ui-lib";
import { _Colors } from "@/constants/Colors";
import { ColorSchemeName } from "react-native";

// 初始化主题
export const initTheme = (colorScheme: ColorSchemeName) => {
  const scheme = colorScheme === "dark" ? "dark" : "light";
  Colors.loadColors({
    ..._Colors[scheme],
  });
};
